import request from '@/utils/request'

//渠道权限验证
export function sourceVerify(token) {
  return request({
    url: '/api/v1/sourceVerify',
    method: 'post',
    headers:{
      'token':token
    }
  })
}
//标准计划
export function standardPlans(params) {
  return request({
    url: '/api/v1/standardPlans',
    method: 'get',
    params
  })
}
//标准计划详情
export function standardPlanInfo(params) {
  return request({
    url: '/api/v1/standardPlanInfo',
    method: 'get',
    params
  })
}
//标准公告
export function standardNotices(params) {
  return request({
    url: '/api/v1/standardNotices',
    method: 'get',
    params
  })
}
//标准公告详情
export function standardNoticeInfo(params) {
  return request({
    url: '/api/v1/standardNoticeInfo',
    method: 'get',
    params
  })
}
//标准动态
export function standardDynamics(params) {
  return request({
    url: '/api/v1/standardDynamics',
    method: 'get',
    params
  })
}
//获取计划分类信息
export function planClass(params) {
  return request({
    url: '/api/v1/planClass',
    method: 'get',
    params
  })
}
//我的套餐
export function userPackage(params) {
  return request({
    url: '/api/v1/userPackage',
    method: 'get',
    params
  })
}
//套餐列表
export function getPackages(params) {
  return request({
    url: '/api/v1/getPackages',
    method: 'get',
    params
  })
}